package com.ynet.middleground.contract.dto;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liulx
 * @description PDF文件中签名信息(CFCA 服务)
 * @date 2020-04-22 22:19
 */
@Data
@ApiModel(value = "PDF文件中签名信息(CFCA 服务)", description = "PDF文件中签名信息，CFCA 证书信息")
public class SignedCertDTO implements Serializable {

    private static final long serialVersionUID = 4296615985226550713L;

    @ApiModelProperty(value = "证书DN", notes = "证书DN", dataType = "String")
    private String certDN;

    @ApiModelProperty(value = "签名时间", notes = "签名时间", dataType = "String")
    private String signatureTime;

    @ApiModelProperty(value = "证书序列号", notes = "证书序列号", dataType = "String")
    private String certSn;

    @ApiModelProperty(value = "证书有效期开始", notes = "证书有效期开始", dataType = "String")
    private String certNotBefore;

    @ApiModelProperty(value = "证书有效期结束", notes = "证书有效期结束", dataType = "String")
    private String certNotAfter;

    @ApiModelProperty(value = "证书颁发者", notes = "证书颁发者", dataType = "String")
    private String issuer;

}
